<template>
  <div>
    <el-card shadow="never" class="mb20" style="overflow: inherit">
      <branch-form ref="branchForm" @search="handleSearch" />
    </el-card>
    <el-card shadow="never">
      <branch-table ref="branchTable" />
    </el-card>
  </div>
</template>

<script>
import BranchTable from './BranchTable'
import BranchForm from './BranchForm'

export default {
  components: {
    BranchTable,
    BranchForm
  },
  methods: {
    handleSearch(obj) {
      this.$refs.branchTable.handleGetList(obj)
    }
  }
}
</script>
